repo: Make read_commit spit out a resolved commit ref as well
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 7 Sep 2013 18:21:24 +0000 (14:21 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 10 Sep 2013 02:58:39 +0000 (22:58 -0400)
commit223bccf2f6ccb82be9314b44d2c271f40a54eb53
tree223742af5de3f50bf55b36d01ccfe316490e02ca
parent6b4ef97c186755fb12b2b0b0bd16e691dd18ce88
repo: Make read_commit spit out a resolved commit ref as well

read_commit resolves the ref to a commit, and a lot of consumers want
the resolved commit for their own purposes; this prevents them from
calling resolve_rev themselves.

https://bugzilla.gnome.org/show_bug.cgi?id=707727
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ot-admin-deploy.c
src/ostree/ot-builtin-cat.c
src/ostree/ot-builtin-checkout.c
src/ostree/ot-builtin-commit.c
src/ostree/ot-builtin-diff.c
src/ostree/ot-builtin-ls.c